package com.le.buddha.util;

import java.util.UUID;

/**
 * @description:
 * @author: guole
 * @date: 2020/4/14
 */
public class TokenUtil {
    public  String generateToken(){

         return UUID.randomUUID().toString().substring(24);

    }

    public static void main(String[] args) {
        TokenUtil tokenUtil=new TokenUtil();
        System.out.println(tokenUtil.generateToken());
    }
}
